<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>jd-html</title>
    <style>
        * {
    margin: 0;
    padding: 0;
}
#header {
    background: rgb(250, 250, 250);
    border-bottom: 1px solid #ddd;
}
body {
    -webkit-font-smoothing: antialiased;
    background-color: #fff;
    font: 12px / 1.5 Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB, "\5B8B\4F53", sans-serif;
    color: #666;
}
#header .w {
    position: relative;
    z-index: 11;
    height: 140px;
}
#logo, .logo_tit {
    position: absolute;
}
#logo {
    z-index: 2;
    left: 0;
    top: 10px;
    width: 190px;
    height: 120px;
    background-color: #fff;
}
.logo_extend {
    /* display: none; */
    position: absolute;
    width: 100%;
    height: 100%;
}
.search-m {
    position: relative;
    z-index: 1;
    height: 60px;
}
.o2_mini .search-m .form {
    width: 486px;
    left: 220px;
}
.search-m .form {
    position: absolute;
    left: 260px;
    top: 38px;
    width: 546px;
    height: 32px;
    border: 2px solid #e2231a;
    background: #fff;
}
.search-m .button {
    border-radius: 0;
    right: 0;
    width: 58px;
    height: 32px;
    line-height: 32px;
    border: none;
    background-color: #e1251b;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    /* -webkit-transition: background .2s ease;
    transition: background .2s ease; */
}
.search-m .button, .search-m .search_bg, .search-m .text {
    position: absolute;
    top: 0;
    outline: none;
}
.button:hover{
    background-color: #e1251b;
}
    </style>
</head>
<body>
<div class="header" id="header">
    <div class="w">
        <div class="loge" id="logo">
            <h1 class="logo_tit">京东</h1>
            <div class="logo_extend">
                <img src="https://img10.360buyimg.com/img/jfs/t1/192028/25/33459/5661/63fc2af2F1f6ae1b6/d0e4fdc2f126cbf5.png" alt="" style="display: block; width: 190px;height: 120px;margin: 0px auto;width: 100%;">
            </div>
            <div id="search">
                <div class="search-m">
                    <div class="form">
                        <button class="button">
                            <span>搜索</span>
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>